projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
718efc2
)
gdkscreen-win32.c: Also define _WIN32_WINNT
author
Chun-wei Fan
<fanchunwei@src.gnome.org>
Fri, 11 Nov 2016 13:03:46 +0000
(21:03 +0800)
committer
Chun-wei Fan
<fanchunwei@src.gnome.org>
Fri, 11 Nov 2016 13:06:01 +0000
(21:06 +0800)
As in the last commit on gdkdisplay-win32.c, we need to define that to be
0x0600 (Vista) or later so that the items needed in the Windows headers be
activated.
See: https://bugzilla.gnome.org/show_bug.cgi?id=768081#c62
gdk/win32/gdkscreen-win32.c
patch
|
blob
|
history
diff --git
a/gdk/win32/gdkscreen-win32.c
b/gdk/win32/gdkscreen-win32.c
index 47f0168a1a84ddcb00bfb1776b507098c25ee551..63a6cf7b1297b3eef50a22975b33a1bbf01eec9b 100644
(file)
--- a/
gdk/win32/gdkscreen-win32.c
+++ b/
gdk/win32/gdkscreen-win32.c
@@
-16,6
+16,9
@@
*/
#include "config.h"
+
+#define _WIN32_WINNT 0x0600
+
#include "gdk.h"
#include "gdkprivate-win32.h"
#include "gdkscreenprivate.h"